Optimal. Leaf size=141 \[ \frac {2 a^{3/2} x^{3 j/2} (c x)^{-3 j/2} \tanh ^{-1}\left (\frac {\sqrt {a} x^{j/2}}{\sqrt {a x^j+b x^n}}\right )}{c (j-n)}-\frac {2 (c x)^{-3 j/2} \left (a x^j+b x^n\right )^{3/2}}{3 c (j-n)}-\frac {2 a x^j (c x)^{-3 j/2} \sqrt {a x^j+b x^n}}{c (j-n)} \]
________________________________________________________________________________________
Rubi [A] time = 0.23, antiderivative size = 141, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {2031, 2028, 2029, 206} \begin {gather*} \frac {2 a^{3/2} x^{3 j/2} (c x)^{-3 j/2} \tanh ^{-1}\left (\frac {\sqrt {a} x^{j/2}}{\sqrt {a x^j+b x^n}}\right )}{c (j-n)}-\frac {2 (c x)^{-3 j/2} \left (a x^j+b x^n\right )^{3/2}}{3 c (j-n)}-\frac {2 a x^j (c x)^{-3 j/2} \sqrt {a x^j+b x^n}}{c (j-n)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 2028
Rule 2029
Rule 2031
Rubi steps
\begin {align*} \int (c x)^{-1-\frac {3 j}{2}} \left (a x^j+b x^n\right )^{3/2} \, dx &=\frac {\left (x^{3 j/2} (c x)^{-3 j/2}\right ) \int x^{-1-\frac {3 j}{2}} \left (a x^j+b x^n\right )^{3/2} \, dx}{c}\\ &=-\frac {2 (c x)^{-3 j/2} \left (a x^j+b x^n\right )^{3/2}}{3 c (j-n)}+\frac {\left (a x^{3 j/2} (c x)^{-3 j/2}\right ) \int x^{-1-\frac {j}{2}} \sqrt {a x^j+b x^n} \, dx}{c}\\ &=-\frac {2 a x^j (c x)^{-3 j/2} \sqrt {a x^j+b x^n}}{c (j-n)}-\frac {2 (c x)^{-3 j/2} \left (a x^j+b x^n\right )^{3/2}}{3 c (j-n)}+\frac {\left (a^2 x^{3 j/2} (c x)^{-3 j/2}\right ) \int \frac {x^{-1+\frac {j}{2}}}{\sqrt {a x^j+b x^n}} \, dx}{c}\\ &=-\frac {2 a x^j (c x)^{-3 j/2} \sqrt {a x^j+b x^n}}{c (j-n)}-\frac {2 (c x)^{-3 j/2} \left (a x^j+b x^n\right )^{3/2}}{3 c (j-n)}+\frac {\left (2 a^2 x^{3 j/2} (c x)^{-3 j/2}\right ) \operatorname {Subst}\left (\int \frac {1}{1-a x^2} \, dx,x,\frac {x^{j/2}}{\sqrt {a x^j+b x^n}}\right )}{c (j-n)}\\ &=-\frac {2 a x^j (c x)^{-3 j/2} \sqrt {a x^j+b x^n}}{c (j-n)}-\frac {2 (c x)^{-3 j/2} \left (a x^j+b x^n\right )^{3/2}}{3 c (j-n)}+\frac {2 a^{3/2} x^{3 j/2} (c x)^{-3 j/2} \tanh ^{-1}\left (\frac {\sqrt {a} x^{j/2}}{\sqrt {a x^j+b x^n}}\right )}{c (j-n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.26, size = 131, normalized size = 0.93 \begin {gather*} -\frac {2 (c x)^{-3 j/2} \left (-3 a^{3/2} \sqrt {b} x^{\frac {1}{2} (3 j+n)} \sqrt {\frac {a x^{j-n}}{b}+1} \sinh ^{-1}\left (\frac {\sqrt {a} x^{\frac {j-n}{2}}}{\sqrt {b}}\right )+4 a^2 x^{2 j}+5 a b x^{j+n}+b^2 x^{2 n}\right )}{3 c (j-n) \sqrt {a x^j+b x^n}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.14, size = 0, normalized size = 0.00 \begin {gather*} \int (c x)^{-1-\frac {3 j}{2}} \left (a x^j+b x^n\right )^{3/2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int {\left (a x^{j} + b x^{n}\right )}^{\frac {3}{2}} \left (c x\right )^{-\frac {3}{2} \, j - 1}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.87, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a \,x^{j}+b \,x^{n}\right )^{\frac {3}{2}} \left (c x \right )^{-\frac {3 j}{2}-1}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int {\left (a x^{j} + b x^{n}\right )}^{\frac {3}{2}} \left (c x\right )^{-\frac {3}{2} \, j - 1}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a\,x^j+b\,x^n\right )}^{3/2}}{{\left (c\,x\right )}^{\frac {3\,j}{2}+1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________